[index]
FreeSize Property
Syntax
get the freeSize of <stackname> Applies to stacks
Description:
NOT AVAILABLE IN THE PLAYER
The freeSize property returns in bytes the amount of disk space that is assigned to the indicated stack but not in use. Compacting the stack recovers the amount of memory shown by freeSize.
Notes
Examples
Create a button with the following script:
on mouseUp
get the freeSize of the stack type it
if it > 1024 then
compact stack end if
end mouseUp
Clicking on this button puts the freeSize of the current stack into the Message Box and compacts the stack if more that 1024 bytes are free.
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.